package com.yanfan.energy.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author huan
 * @Description
 * @ClassName 2023年01月10日 23:37:00
 * @Version 1.0
 **/

@ColumnWidth(15)
public class BatchSegmentationHead implements Serializable {
    /**
     * 批次编号
     */
    @ExcelProperty(value = "批次编号")
//    @MergeCell(needMerge = true, isPk = true)
    private String batchNumber;

    /**
     * 批次名称
     */
    @ExcelProperty(value = "批次名称")
//    @MergeCell(needMerge = true, isPk = true)
    private String batchName;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间", converter = DateConverter.class)
//    @MergeCell(needMerge = true,isPk = true)
    private Date beginDate;
    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间", converter = DateConverter.class)
//    @MergeCell(needMerge = true, isPk = true)
    private Date endDate;

    @ExcelProperty(value = "生产时长")
//    @MergeCell(needMerge = true, isPk = true)
    private String time;


    /**
     * 段号
     */
    @ExcelProperty(value = "段号")
    private String segmentNumber;


    @ExcelProperty(value = "规格")
    private String specification;

    @ExcelProperty(value = "重量")
    private String segmentWeight;

    @ExcelProperty(value = "工艺名称")
    private String craftName;

    @ExcelProperty(value = "厂区")
    private String factoryId;


    @ExcelProperty(value = "生产车间")
    private String workshopId;


    @ExcelProperty(value = "完成时间")
    private String finishDate;


    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSegmentNumber() {
        return segmentNumber;
    }

    public void setSegmentNumber(String segmentNumber) {
        this.segmentNumber = segmentNumber;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSegmentWeight() {
        return segmentWeight;
    }

    public void setSegmentWeight(String segmentWeight) {
        this.segmentWeight = segmentWeight;
    }

    public String getCraftName() {
        return craftName;
    }

    public void setCraftName(String craftName) {
        this.craftName = craftName;
    }

    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public String getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(String workshopId) {
        this.workshopId = workshopId;
    }

    public String getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(String finishDate) {
        this.finishDate = finishDate;
    }
}
